

using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using JYJ.AiYard.StationManagement.TbStationStatus;

namespace JYJ.AiYard.EntityMapper.TbStationStatuss
{
    public class TbStationStatusCfg : IEntityTypeConfiguration<TbStationStatus>
    {
        public void Configure(EntityTypeBuilder<TbStationStatus> builder)
        {

            builder.ToTable("Tb_StationStatus", YoYoAbpefCoreConsts.SchemaNames.Dbo);
                
            
			builder.Property(a => a.Station_ID).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.ParkCount).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.LostCount).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length16);
			builder.Property(a => a.MonthCardPayTitle).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length2000);
			builder.Property(a => a.MonthCardPayInfor).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length2000);
			builder.Property(a => a.TempCardPayTitle).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length2000);
			builder.Property(a => a.TempCardPayInfor).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length2000);
			builder.Property(a => a.Isinvoice).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length256);
			builder.Property(a => a.LastInYardTime).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.LastOutYardTime).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.OnlineStatus).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length256);
            builder.Property(a => a.InsertTime).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
            builder.Property(a => a.UpdateTime).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
            builder.Property(a => a.LastConnectionId).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
            builder.Property(a => a.LastConnectionTime).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64); 


            builder.Property(a => a.TenantId).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.CreationTime).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.CreatorUserId).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.LastModifierUserId).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.LastModificationTime).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.IsDeleted).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.DeleterUserId).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.DeletionTime).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);


        }
    }
}


